#ifndef TEST_CUBOID_H
#define TEST_CUBOID_H

#include "PhysicsBody.h"
#include "FractureBody.h"
#include "Matrix.h"

class ModalFilterSystem;
class GLCuboid;

class TestCuboid : public PhysicsBody, public FractureBody
{
public:
	TestCuboid();
	TestCuboid(const Vec3f& pos, const Vec3f& halfExtents, int numFragments);
	void Shatter();
	void Draw();
	void Update();
	void Collided(btManifoldPoint& contact);
	~TestCuboid();

private:
	bool m_fractured;
	Vec3f m_halfExtents;
	unsigned int m_numFragments;
	
	ModalFilterSystem* m_pModalFilterSystem;
	GLCuboid* m_pCuboid;
	Matrix m_mat;
};

#endif